<!DOCTYPE html>
<html>
<head lang="en">
	<meta charset="UTF-8">
	<title>百朋后台管理系统</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
</head>
<body>
	<div class="invest_table">
		<table id="default_table" title="订单列表" style="width:100%;min-height:372px;"
			data-options="
				remoteSort:false,
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				pagination:true,
				url:'../../borrow/borrowcancel/borrowcancel_main',
				pageSize:10,toolbar:'#tb'
			"
		>
			<thead>
				<tr>
					<th field="borrow_id" width="10%" align="center">借款编号</th>
					<th field="cust_name" width="10%" align="center">客户姓名</th>
					<th field="fac_simple_name" width="10%" align="center">商户简称</th>
                    <th field="borrow_money" width="24%" align="center">分期金额</th>
					<th field="facp_name" width="10%" align="center">员工姓名</th>
					<th field="facp_phone" width="10%" align="center">员工电话</th>
					<th field="facp_loginname" width="10%" align="center">员工邮箱</th>
					<th field="borrow_unworktime" width="15%" align="center">取消时间</th>
				</tr>
			</thead>
		</table>
	</div>
	<div id="tb" style="padding:5px;height:auto">
		<form action="../../borrow/borrowcancel/borrowcancel_list" method="post" id="searchTable">
			<div>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;借款编号
				<input class="easyui-textbox" id="select_borrowNum" name="select_borrowNum" value="{$search_array.select_borrowNum}" style="width:100px">&nbsp;&nbsp;
				客户姓名
				<input class="easyui-textbox" id="select_custName" name="select_custName" value="{$search_array.select_custName}" style="width:100px">&nbsp;&nbsp;
				商户名称
				<input class="easyui-textbox" id="select_businessName" name="select_businessName" value="{$search_array.select_businessName}" style="width:100px">&nbsp;&nbsp;
				<a href="javascript:;" onclick="submitSearch();" class="easyui-linkbutton" iconCls="icon-search">查询</a>&nbsp;&nbsp;
				<a href="javascript:;" onclick="resetSearch();" class="easyui-linkbutton" iconCls="icon-clear">重置</a>
			</div>
		</form>
	</div>

	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript">
		$(function() 
		{
//			var json = '{$json_list}';
//			var array = JSON.parse(json);
//			$('#invest_table').datagrid({loadFilter:pagerFilter}).datagrid('loadData', array);
            $('#default_table').datagrid();
		});

		function submitSearch() 
		{
            $('#default_table').datagrid('load',{
                select_borrowNum: $('#select_borrowNum').val(),
                select_custName:$('#select_custName').val(),
                select_businessName:$("#select_businessName").val()
            });
		}

		function resetSearch() 
		{
			$("#select_borrowNum").textbox("setValue","");
			$("#select_custName").textbox("setValue","");
			$("#select_businessName").textbox("setValue","");
		}
	</script>
</body>
</html>